
<table class="table table-hover table-bordered" style="margin-top:10px;">
    <thead>
    <tr>
        <th style="width:20px;">#</th>
        <th style="width:20px;"></th>
        <th style="width:80px;">编号</th>
        <th>名称</th>

        <th>负责人</th>
    </tr>
    </thead>
    <tbody>
    <volist name="list" id="vo">
        <tr class="org-tr-data">
            <td>{$i}</td>
            <td><input type="checkbox" orgName="{$vo.name}" value="{$vo.code}" class="org-chk-item"/></td>
            <td>{$vo.code}</td>
            <td>{$vo.name}</td>

            <td>{$vo.user_name}</td>
        </tr>
    </volist>
    </tbody>
</table>
{$page}
<script>
    $(".org-tr-data").click(function(){
//        $(".org-tr-data").css({'background-color':'#fff'});
//        $(this).css({'background-color':'#f5f5f5'});
//        $(".org-chk-item").prop('checked', false);
//        $(this).find(".org-chk-item").prop('checked', true);
    });

    $(".org-chk-item").change(function(){
        //return false;
    });

</script>